Xbasic

A5_Encrypt_String Function

Syntax

Encoded_Text as C = a5_encrypt_string(C Source ,C Key [,C Algorithm [,B Initializer ]])

Arguments

Encoded_Text

The encoded string.

Source

The plain text string.

Key

The text used to encode SourceString.

Algorithm

Optional. Default = "Blowfish". Refer to Encryption Algorithms.

Initializer

Optional. Additional information to be provided by advanced users depending on the algorithm they use. Refer to the OpenSSL site at www.openssl.org for more information.

Description

Encrypts a string and returns the base64 encoded result. The A5_Encrypt_String() function encodes a character string.

Example

? a5_encrypt_string("alpha software", "abc")
= "IwYGKelVPamJdy0XqlmEow=="

See Also